package com.platform.common.handler.exception;

import com.platform.common.bean.Result;
import com.platform.common.menus.ResultCodeEnum;
import lombok.extern.slf4j.Slf4j;

/**
 * describe:请求方式异常
 *
 * @author rainly
 * @date 2020/3/14
 * @time 10:05 下午
 */
@Slf4j
class MethodNotSupportedExceptionResult implements ExceptionResult {
    @Override
    public Result retResult() {
        log.info("请求方式异常");
        return Result.failure(ResultCodeEnum.METHOD_NOT_ALLOWED);
    }
}
